package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.entity.AdminAccount;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface AdminAccountMapper extends BaseMapper<AdminAccount> {
    AdminAccount findByUsernameAndPassword(@Param("admin_username") String username, @Param("admin_password") String password);
}
